<script>
export default {
  onLaunch: function () {
    console.log("App Launch");
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
  onUnload: async function () {
    try {
      await uni.$u.http.post("/weixin/exit/login", {
        id: this.$store.state.staff.id,
      });
    } catch (error) {}
  },
};
</script>

<style>
/*每个页面公共css */
.u-picker__view__column__item {
  font-size: 40rpx !important;
}
.top .u-form-item__body__left__content__label {
  margin-bottom: 20rpx;
}
.u-toolbar__title,
.u-toolbar__wrapper__cancel,
.u-toolbar__wrapper__confirm {
  font-size: 40rpx !important;
}
.u-tabbar-item__text {
  font-size: 32rpx !important;
}
.u-badge--not-dot {
  font-size: 35rpx !important;
}
.u-textarea__field {
  font-size: 40rpx !important;
}
</style>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-ui/index.scss";
</style>
